package com.dhnsoft.boot3.ssm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 1.@MapperScan:告诉mybatis，扫描哪个包下面的所有接口
 * 2.告诉mybatis，每个接口的xml文件都在哪儿
 * */
@SpringBootApplication
@MapperScan(basePackages = "com.dhnsoft.boot3.ssm.mapper")
public class Boot305SsmApplication {

    public static void main(String[] args) {
        SpringApplication.run(Boot305SsmApplication.class, args);
    }

}
